package com.example.demo.constant;

/**
 * *********************************************************************
* HttpHeadConst.java
*
* H3C所有，
* 受到法律的保护，任何公司或个人，未经授权不得擅自拷贝。
* @copyright   Copyright: 2015-2020
* @creator     xfw2218<br/>
* @create-time 2018年6月26日 下午4:18:38
* @revision    $Id:  *
**********************************************************************
 */
public enum HttpHeadConst {
    /**
     * http head 常量
     */
    HTTP_HEAD_ACCEPT("Accept"),
    HTTP_HEAD_ACCEPT_JSON("application/json"),
    HTTP_HEAD_CONTENT_TYPE("Content-type"),
    HTTP_HEAD_CONTEXT_TYPE_JSON("application/json; charset=UTF-8"),
    HTTP_HEAD_X_AUTH_TOKEN("X-Auth-Token"),
    HTTP_HEAD_X_SUBJECT_TOKEN("X-Subject-Token"),
    HTTP_MSG_TYPE("application/json"),
    H3CLOUDOS_CORE_TARGET("H3CloudOS-Core-Target"),
    X_OPENSTACK_IRONIC_API_VERSION("X-OpenStack-Ironic-API-Version"),
    X_OPENSTACK_IRONIC_API_VERSION_VALUE("1.34"),
    STORAGEVIEW("storageView"),
    BLOCK_STORAGE("block_storage"),
    BAREMETAL("baremetal"),
    BARE_METAL("bare_metal"),
    COMPUTE("compute"),
    COOKIE("Cookie"),
    DEFAULT_DOMAIN_ID("default"),
    USER_ID("user_id"),

    HEADER_CMP_CLOUD_ID("H3CMP-Cloud-Id"),
    RESOURCE_ZONE_TYPE("Resource-Zone-Type");


    private String value;

    private HttpHeadConst(String value){
        this.value = value;
    }

    @Override
    public String toString(){
        return String.valueOf(this.value);
    }
}
